package com.guli.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.util.HashSet;

/**
 * @author XiaoHua666
 * @date 2019/5/2
 */
@SpringBootApplication
@EnableConfigServer//作为配置中心服务器
@EnableEurekaClient//注册到Eureka
public class ConfigServerApplication {
    public static void main(String[] args){
        SpringApplication.run(ConfigServerApplication.class, args);
        HashSet<String> hashSet = new HashSet<>();

    }
}
